export default {
  createPhysical:{//创建体质
    url:'/his/physical/create',
    require:['token','clientid','description','name','symptom']//、code(选)、metadata(选)、data(选)、documentId(选)
  },
  deletePhysical:{
    url:'/his/physical/delete',
    require:['token','clientid','id']
  },
  getPhysical:{
    url:'/his/physical/get',
    require:['token','clientid','id']
  },
  updatePhysical:{//修改体质
    url:'/his/physical/update',
    require:['token','clientid','id']//name(选)、description(选)、symptom(选)、code(选)、metadata(选)、code(选)、enabled(选)、documentId(选)
  },
  getPhysicalList:{
    url:'/his/physical/list',
    require:['token','clientid']
  },
  setPhysicalLabel:{//设置体质标签
    url:'/his/physical/setPhysicalLabel',
    require:['token','clientid','labelId','physicalId','type']
  },
  //体质亚型
  createPhysicalSubtype:{//新建体质亚型
    url:'/his/physicalSubtype/create',
    require:['token','clientid','name','description']//parentId,data
  },
  getPhysicalSubtype:{//获取体质亚型
    url:'/his/physicalSubtype/get',
    require:['token','clientid','id']
  },
  getPhysicalSubtypeList:{//获取所有体质亚型
    url:'/his/physicalSubtype/list',
    require:['token','clientid']
  },
  updatePhysicalSubtype:{//更新体质亚型
    url:'/his/physicalSubtype/get',
    require:['token','clientid','id']//description,parentId,data
  },
  delAndUpdatePhysicalSubtype:{//删除父体质亚型并更新子体质亚型
    url:'/his/physicalSubtype/deleteAndUpdate',
    require:['token','clientid','id']
  },
  delPhysicalSubtypeFamily:{//删除父体质亚型包括子体质亚型
    url:'/his/physicalSubtype/deleteFamily',
    require:['token','clientid','id']
  },
  getRootPhysicalSubtype:{//获取所有根目录体质亚型
    url:'/his/physicalSubtype/getRoot',
    require:['token','clientid']
  },
}
